1 EXHIBIT 5.1 OPINION RE: LEGALITY CAMPNEY & MURPHY Barristers & Solicitors P.O. Box 48800 2100-1111 West Georgia Street Vancouver, B.C. V7X 1K9 July 14, 1998 VIA EDGAR Securities and Exchange Commission 450 Fifth Street N.W. Washington, D.C. USA 20549 Dear Sirs: RE: OPTIMA PETROLEUM CORPORATION (THE "COMPANY") - S-4 REGISTRATION STATEMENT COVERING 11,002,346 SHARES (THE "REGISTRATION STATEMENT") We act as counsel to the Company, a Canadian corporation, in connection with the Registration Statement under the Securities Act of 1933, as amended, whereby 11,002,346 shares (the "Shares") of the Company's common stock without par value are registered. In such capacity, we have examined the Articles of Incorporation, the Memorandum and corporate proceedings of the Company and based upon such examination and having regard for applicable legal principles, it is our opinion that the Shares are validly issued shares of the Company and that the Shares are fully paid for and non-assessable. In giving this opinion, we are relying on a letter from the Company's transfer agent with respect to the valid issuance of the Shares and have assumed that the Company has received full consideration for the issuance of its issued and outstanding shares. We consent to the use of this opinion as an exhibit to the Registration Statement and the reference to our firm under the heading, "Recommendation of the Optima Board of Directors" and "Legal Matters" in the Proxy Statement included as part of the Registration Statement. Yours truly, CAMPNEY & MURPHY "Campney & Murphy" 510 BURRARD STREET, VANCOUVER, BC V6C 3B9 TEL.: (604) 661-9400 FAX: (604) 683-3694 JULY 14, 1998 CAMPNEY & MURPHY #2100-1111 W. GEORGIA ST. VANCOUVER, B.C. V7X 1K9 ATTN: KATHY KENNEDY DEAR MS. KENNEDY: RE: OPTIMA PETROLEUM CORPORATION-ISSUED SHARE CAPITAL PLEASE ACCEPT THIS LETTER AS CONFIRMATION THAT MONTREAL TRUST COMPANY OF CANADA IS THE DULY APPOINTED TRANSFER AGENT AND REGISTRAR FOR THE ABOVE-NOTED ISSUER. IN THAT CAPACITY, WE CONFIRM THAT THE NUMBER OF ISSUED AND OUTSTANDING COMMON SHARES OF THE COMPANY AS OF THE CLOSE OF BUSINESS JULY 13, 1998 WAS 11,002,346. IF YOU HAVE ANY QUESTIONS, PLEASE DO NOT HESITATE TO GIVE ME A CALL. YOURS TRULY, "JEFF ALEXANDER" JEFF ALEXANDER ACCOUNT MANAGER STOCK AND BOND TRANSFER DEPT. PHONE: (604) 661-9499 FAX: (604) 683-3694 JPA/JA - 165 -