Explanation
we could use ‘ if he were ’, if the events are imagery or improbable. ‘If he were’ can be used when expressing an imaginary situation in the present that is definitely not true. In the given question, he behaves like a king, which is an imaginary situation So we have used ‘if he were’, instead of using ‘if he was’ . ND_11_7-2023