"Real" 1080p25 encoding is only allowed on UltraHD Blu-Ray with HEVC codec. On "normal" Blu-Ray only 1080i25 is allowed but you can e.g. encode all frames/blocks as progressive (x264 has "fake interlaced" mode for that).
https://forum.doom9.org/showthread.php?t=154533