Magistrates told it is “irrational” not to grant applications by energy firms, leaked document shows.